package com.boyi.cycling_master.ui;

import android.os.Bundle;
import android.widget.EditText;

import com.boyi.cycling_master.R;
import com.boyi.cycling_master.application.CyclingApplication;
import com.boyi.cycling_master.ui.base.BaseToolBarActivity;
import com.rengwuxian.materialedittext.MaterialEditText;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * @author Lee_Mofeel
 * @version 1.0
 * @date ${Date} ${Time}
 * @Description
 */

public class ChangeUserNickActivity extends BaseToolBarActivity {
    @BindView(R.id.edt_change_user_nick)
    EditText edtChangeUserNick;
    String userNick;
    @Override
    public int getContentViewId() {
        return R.layout.activity_change_user_nick;
    }

    @Override
    public void initLogic() {
        // 用户昵称
        userNick = CyclingApplication.getInstance().getUserInfo().getUserNick();
        edtChangeUserNick.setText(userNick);
    }

    @Override
    public void getBundleExtras(Bundle bundle) {

    }

    @Override
    public String pageTitle() {
        return "修改昵称";
    }
}
